
export const state = ()=>({
  allpeople: []
});

export const mutations = {
  create (state , people) {
    state.allpeople.push(people);
  },
  init(state, allpeople){
    state.allpeople = allpeople;
  }
}
